home *** CD-ROM | disk | FTP | other *** search
- @echo off
-
- rem This batch file builds the example programs
- rem using the Microsoft C compiler. It assumes that the
- rem INCLUDE and LIB environment variables are set properly for MSC.
-
- rem The model used here is the Small model.
- rem To change the model, use -AX where X is one of M, C, L
- rem for Medium, Compact, and Large respectively and then
- rem use the msc\Xfexpand.lib where X is also M, C, L.
-
- rem EXAMPLE1.EXE illustrates the use of the Xsetargv.obj module
- rem so that the wildcarding takes place before main is even called
- rem (i.e. argv is already expanded).
-
- cl -I..\include -W3 -AS example1.c ..\libmsc\Ssetargv.obj -link /NOE ..\libmsc\Sfexpand.lib
-
-
- rem EXAMPLE2.EXE illustrates calling all of the available functions
- rem in the File Template Expander directly.
-
- cl -I..\include -W3 -AS example2.c -link ..\libmsc\Sfexpand.lib
-